class Main {
	public static void main(String[] args) {

		System.out.println("Hello CAPSTONE 2012");

		CommListen st = new CommListen();
		try {
			st.open();
		} catch (Exception e) {
			e.printStackTrace();
		}

		st.start();

		try {
			st.join();
		} catch (InterruptedException e) {
			e.printStackTrace();
		}
		System.out.println("exit");
	}
}
